//package com.bdqn.demo.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//    @Configuration
//    public class WebConfig extends WebMvcConfigurationSupport {
//
//        @Override
//        protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//            registry.addResourceHandler("/**")
//                    .addResourceLocations(
//                            "classpath:/META-INF/resources/",
//                            "classpath:/resources/",
//                            "classpath:/static/",
//                            "classpath:/public/",
//                            "file:D:/c69-springboot/李巍/upimg"
//                    );
//        }
//    }
